import { ALL_CATEGORY_ITEM } from '@/constants'
export default {
  namespaced: true,
  state: {
    currentCategorys: ALL_CATEGORY_ITEM,
    keyword: '',
    routerType: 'none'
  },
  mutations: {
    setCurrentCategorys(state, category) {
      state.currentCategorys = category
    },
    changeKeyword(state, keyword) {
      state.keyword = keyword
    },
    changeRouterType(state, type) {
      state.routerType = type
    }
  },
  actions: {}
}
